package org.spring.boot.sample.profile.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;

@ConfigurationProperties(prefix = "com.guqj")
@PropertySource("classpath:application.properties")
public class WebConfig {

	private String name;
	private int age;
	private String yearhope;
	private int randomint;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public String getYearhope() {
		return yearhope;
	}

	public void setYearhope(String yearhope) {
		this.yearhope = yearhope;
	}

	public int getRandomint() {
		return randomint;
	}

	public void setRandomint(int randomint) {
		this.randomint = randomint;
	}

}
